using CQRS.Events;
using CQRS.Events.DomainClass;

namespace CQRS.Sample.Domain.BOs
{
    public class Accident : BaseEntity<Event>
    {
        public Accident(string name, string location, string cause)
        {
            Name = name;
            Location = location;
            Cause = cause;
        }

        public string Name { get; private set; }

        public string Location { get; private set; }
        public string Cause { get; private set; }

    }
}